/*init*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #555;
  font-size: 14px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

td,
th,
caption {
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

a {
  color: #555;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  border: none;
}

ol,
ul,
li {
  list-style: none;
}

input,
textarea,
select,
button {
  font: 14px Verdana, Helvetica, Arial, sans-serif;
}

table {
  border-collapse: collapse;
}

html {
  overflow-y: scroll;
}

.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}

html {
  display: block;
}

body {
  display: block;
  // background-color: #77305f;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: hidden;
  overflow-y: auto;
}

/* game */

.game {
  margin: 0 auto;
  width: 6.4rem;
  min-height: 100%;
  // background: url(./images/game-bg.png) center top no-repeat;
  background-size: 6.4rem 10.08rem;
  box-sizing: border-box;
  overflow: hidden;
}

.game .title img {
  width: 6.4rem;
}

.game .wheel-box {
  width: 5.58rem;
  height: 5.6rem;
  margin: 0 auto;
  position: relative;
}

.game .wheel-box #wheel {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50%;
  top: 0;
  box-sizing: border-box;
  overflow: hidden;
  left: 0;
  background: url('./images/game-wheel.png') center center no-repeat;
  background-size: 5.58rem 5.6rem;
}

.game .wheel-box #arrow {
  width: 1.55rem;
  height: 2.21rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  margin: auto;
  z-index: 2;
  background: url('./images/game-arrow.png') center center no-repeat;
  background-size: 1.55rem 2.21rem;
}

.game .luckDrawCount {
  text-align: center;
  color: #fff;
  font-size: 0.28rem;
  position: relative;
  top: -0.5rem;
}

/*init 公共初始值样式*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #555;
  font-size: 14px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

td,
th,
caption {
  font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

a {
  color: #555;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  border: none;
}

ol,
ul,
li {
  list-style: none;
}

input,
textarea,
select,
button {
  font: 14px Verdana, Helvetica, Arial, sans-serif;
}

table {
  border-collapse: collapse;
}

html {
  overflow-y: scroll;
}

.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  *zoom: 1;
}

html {
  display: block;
  margin: 0 auto;
}

body {
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  overflow: hidden;
  overflow-y: auto;
}

/* 页面样式 */

.game {
  margin: 0 auto;
  min-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0rem 0.2rem;
}

.game .title {
  height: 3rem;
}

/* 点赞人数 */

.like-num-box {
  margin-top: 0.6rem;
  height: 2.6rem;
  text-align: center;
}

.like-box {
  height: 1.4rem;
}

.like-box .like-icon {
  height: 1rem;
  width: 1rem;
}

/* 大转盘 */

.game .wheel-box {
  width: 3.58rem;
  height: 3.6rem;
  margin: 0 auto;
  position: relative;
}

.game .wheel-box #wheel {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50%;
  top: 0;
  box-sizing: border-box;
  overflow: hidden;
  left: 0;
  background: url('./images/game-wheel.png') center center no-repeat;
  background-size: 5.58rem 5.6rem;
}

.game .wheel-box #arrow {
  width: 1.55rem;
  height: 2.21rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0.6rem;
  margin: auto;
  z-index: 2;
  background: url('./images/game-arrow.png') center center no-repeat;
  background-size: 1.55rem 2.21rem;
}

.game .luckDrawCount {
  text-align: center;
  color: #333;
  font-size: 0.28rem;
  margin: 0.2rem 0;
}

/* 促销商品 */

.goods-content {
  width: 100%;
  min-height: 5rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0.2rem 0;
}

.goods-content>.goods {
  width: 48%;
  border: 1px solid #eeeeee;
  height: 2rem;
  padding: 0.1rem 0;
  margin: 0.05rem 0;
}

.goods-img {
  height: 74%;
  text-align: center;
}

.goods-img .img {
  height: 100%;
  margin: 0 auto;
}

.goods-title {
  display: inline-block;
  text-align: center;
  width: 100%;
  height: 20%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  margin-top: 0.16rem;
}

// 进度条
.u-progress {
  // width: 200px;
  height: 12px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.2);
  background: #f7f7f1;
}

.u-progress .pgbar,
.u-progress .pging {
  display: block;
  width: 100%;
  height: 100%;
}

.u-progress .pgbar {
  background: #3a9ed8;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#6fbee5), to(#3a9ed8));
  animation: pgbar 0.8s linear infinite;
  animation-iteration-count: 1; // 播放1次
}

@-webkit-keyframes pgbar {
  0% {
    width: 10%;
  }

  50% {
    width: 30%;
  }

  100% {
    width: 60%;
  }
}